package ylg.com.cn.mdplayer.application;

import android.app.Application;
import android.content.Context;

import ylg.com.cn.mdplayer.model.CacheManager;

/**
 * Created by MyPC on 2017/1/24.
 */

public class App extends Application {
    private Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        CacheManager.getInstance().init(mContext);
    }
    public Context getAppContext(){
        return mContext;
    }
}
